#! /bin/bash
server_array=(31 32 33 35 36 37)
ipadd=192.168.2
remote_cmd="cd /tmp;"
for server in ${server_array[*]}
do
{
	echo "ssh to $server >>>"
	ssh -t ubuntu@$ipadd.$server $remote_cmd $1
	echo "close connect <<<"
}
done
